package com.ssy.lingxi.purchase.repository;


import com.ssy.lingxi.purchase.entity.quotedprice.InteriorConfirmQuotedPriceLog;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
*交易中心-确认需求报价-确认报价单内部流程记录
* @author wrc
* @date 2020/7/8
*/
@Repository
public interface InteriorConfirmQuotedPriceLogRepository extends JpaRepository<InteriorConfirmQuotedPriceLog, Long> {

    List<InteriorConfirmQuotedPriceLog> findAllByPurchaseInquiryId(Long purchaseInquiryId);

    InteriorConfirmQuotedPriceLog findByStepAndPurchaseInquiryId(Integer step, Long id);
}
